﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Utility.BehaviourTree
{
	[HideFromCreateMenu]
	public class DataNode : DecoratorNode
	{
		public DataNode (DataBoard databoard = null)
		{
			DataBoard = databoard ?? new DataBoard ();
		}

		protected override Status OnUpdate ()
		{
			return ChildNode.Update ();
		}

	}
}